<script type="text/javascript"> dojo.require("dijit.form.CheckBox"); </script>
<input dojoType="dijit.form.CheckBox" class='field text' type='checkbox' id='{{field.id}}'  name='{{field.name}}' value='true' {% if field.value %}checked{% endif %}>